package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统用户与业务用户关联对象 sys_user_chat_rel
 * 
 * @author ruoyi
 * @date 2025-08-30
 */
public class SysUserChatRel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 系统用户ID */
    @Excel(name = "系统用户ID")
    private Long userId;

    /** 业务用户ID */
    @Excel(name = "业务用户ID")
    private Long chatUserId;

    /** 关联类型 */
    @Excel(name = "关联类型")
    private String relType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setChatUserId(Long chatUserId) 
    {
        this.chatUserId = chatUserId;
    }

    public Long getChatUserId() 
    {
        return chatUserId;
    }

    public void setRelType(String relType) 
    {
        this.relType = relType;
    }

    public String getRelType() 
    {
        return relType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("chatUserId", getChatUserId())
            .append("relType", getRelType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
